package demo3;

import org.springframework.stereotype.Component;
import org.w3c.dom.ls.LSOutput;

/**
 * T恤
 */
@Component("Summer")
public class Shirt implements Clothes{
    public void wear()
    {
        System.out.println("穿T恤");
    }
}
